package com.lysj.bhp.exchangerate.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zk
 * @description
 * @create 2018-07-23 10:21
 **/
public class ExchangeRate {

    private BigDecimal ETHEREUM_TO_DOLLAR; //以太币对应美元汇率
    private long ETHEREUM_TO_DOLLAR_EXPIRES = new Date().getTime(); //缓存有效时间
    private int ETHEREUM_TO_DOLLAR_STATUS = 1;  //数据源类型
    private int ETHEREUM_TO_DOLLAR_ISRATE = 1;

    private BigDecimal BITCOIN_TO_DOLLAR; //比特币对应美元汇率
    private long BITCOIN_TO_DOLLAR_EXPIRES = new Date().getTime(); //缓存有效时间
    private int BITCOIN_TO_DOLLAR_STATUS = 1; //数据源类型
    private int BITCOIN_TO_DOLLAR_ISRATE = 1;

    private BigDecimal BHPC_TO_ETH; //算力币对以太坊汇率
    private long BHPC_TO_ETH_EXPIRES = new Date().getTime(); //缓存有效时间
    private int BHPC_TO_ETH_STATUS = 1; //数据源类型
    private int BHPC_TO_ETH_ISRATE = 1;

    private BigDecimal DOLLAR_TO_CNY; //美元兑人民币汇率
    private long DOLLAR_TO_CNY_EXPIRES = new Date().getTime(); //缓存有效时间
    private int DOLLAR_TO_CNY_STATUS = 1; //数据源类型
    private int DOLLAR_TO_CNY_ISRATE = 1;



    private BigDecimal BHPC_TO_DOLLAR; //算力币与美元的汇率
    private long BHPC_TO_DOLLAR_EXPIRES = new Date().getTime(); //缓存有效时间
    private int BHPC_TO_DOLLAR_STATUS = 1; //数据源类型
    private int BHPC_TO_DOLLAR_ISRATE = 2;

    private BigDecimal BHPC_TO_CNY; //BHPC与人民币的汇率
    private long BHPC_TO_CNY_EXPIRES = new Date().getTime(); //缓存有效时间
    private int BHPC_TO_CNY_STATUS = 1; //数据源类型
    private int BHPC_TO_CNY_ISRATE = 2;

    private BigDecimal CNY_TO_DOLLAR; //人民币与美元的汇率
    private long CNY_TO_DOLLAR_EXPIRES = new Date().getTime(); //缓存有效时间
    private int CNY_TO_DOLLAR_STATUS = 1; //数据源类型
    private int CNY_TO_DOLLAR_ISRATE = 2;

    private BigDecimal BITCOIN_TO_CNY; //比特币对人民币的汇率
    private long BITCOIN_TO_CNY_EXPIRES = new Date().getTime(); //缓存有效时间
    private int BITCOIN_TO_CNY_STATUS = 1; //数据源类型
    private int BITCOIN_TO_CNY_ISRATE = 2;

    private BigDecimal ETH_TO_CNY; //以太坊对人民币的汇率
    private long ETH_TO_CNY_EXPIRES = new Date().getTime(); //缓存有效时间
    private int ETH_TO_CNY_STATUS = 1; //数据源类型
    private int ETH_TO_CNY_ISRATE = 2;

    private static ExchangeRate exchangeRate = new ExchangeRate();

    private ExchangeRate() {
    }

    public int getBHPC_TO_DOLLAR_STATUS() {
        return BHPC_TO_DOLLAR_STATUS;
    }

    public void setBHPC_TO_DOLLAR_STATUS(int BHPC_TO_DOLLAR_STATUS) {
        this.BHPC_TO_DOLLAR_STATUS = BHPC_TO_DOLLAR_STATUS;
    }

    public int getBHPC_TO_CNY_STATUS() {
        return BHPC_TO_CNY_STATUS;
    }

    public void setBHPC_TO_CNY_STATUS(int BHPC_TO_CNY_STATUS) {
        this.BHPC_TO_CNY_STATUS = BHPC_TO_CNY_STATUS;
    }

    public int getCNY_TO_DOLLAR_STATUS() {
        return CNY_TO_DOLLAR_STATUS;
    }

    public void setCNY_TO_DOLLAR_STATUS(int CNY_TO_DOLLAR_STATUS) {
        this.CNY_TO_DOLLAR_STATUS = CNY_TO_DOLLAR_STATUS;
    }

    public int getBITCOIN_TO_CNY_STATUS() {
        return BITCOIN_TO_CNY_STATUS;
    }

    public void setBITCOIN_TO_CNY_STATUS(int BITCOIN_TO_CNY_STATUS) {
        this.BITCOIN_TO_CNY_STATUS = BITCOIN_TO_CNY_STATUS;
    }

    public int getETH_TO_CNY_STATUS() {
        return ETH_TO_CNY_STATUS;
    }

    public void setETH_TO_CNY_STATUS(int ETH_TO_CNY_STATUS) {
        this.ETH_TO_CNY_STATUS = ETH_TO_CNY_STATUS;
    }

    public BigDecimal getBHPC_TO_DOLLAR() {
        return BHPC_TO_DOLLAR;
    }

    public void setBHPC_TO_DOLLAR(BigDecimal BHPC_TO_DOLLAR) {
        this.BHPC_TO_DOLLAR = BHPC_TO_DOLLAR;
    }

    public int getBHPC_TO_DOLLAR_ISRATE() {
        return BHPC_TO_DOLLAR_ISRATE;
    }

    public void setBHPC_TO_DOLLAR_ISRATE(int BHPC_TO_DOLLAR_ISRATE) {
        this.BHPC_TO_DOLLAR_ISRATE = BHPC_TO_DOLLAR_ISRATE;
    }

    public BigDecimal getBHPC_TO_CNY() {
        return BHPC_TO_CNY;
    }

    public void setBHPC_TO_CNY(BigDecimal BHPC_TO_CNY) {
        this.BHPC_TO_CNY = BHPC_TO_CNY;
    }


    public int getBHPC_TO_CNY_ISRATE() {
        return BHPC_TO_CNY_ISRATE;
    }

    public void setBHPC_TO_CNY_ISRATE(int BHPC_TO_CNY_ISRATE) {
        this.BHPC_TO_CNY_ISRATE = BHPC_TO_CNY_ISRATE;
    }

    public BigDecimal getCNY_TO_DOLLAR() {
        return CNY_TO_DOLLAR;
    }

    public void setCNY_TO_DOLLAR(BigDecimal CNY_TO_DOLLAR) {
        this.CNY_TO_DOLLAR = CNY_TO_DOLLAR;
    }

    public int getCNY_TO_DOLLAR_ISRATE() {
        return CNY_TO_DOLLAR_ISRATE;
    }

    public void setCNY_TO_DOLLAR_ISRATE(int CNY_TO_DOLLAR_ISRATE) {
        this.CNY_TO_DOLLAR_ISRATE = CNY_TO_DOLLAR_ISRATE;
    }

    public BigDecimal getBITCOIN_TO_CNY() {
        return BITCOIN_TO_CNY;
    }

    public void setBITCOIN_TO_CNY(BigDecimal BITCOIN_TO_CNY) {
        this.BITCOIN_TO_CNY = BITCOIN_TO_CNY;
    }

    public int getBITCOIN_TO_CNY_ISRATE() {
        return BITCOIN_TO_CNY_ISRATE;
    }

    public void setBITCOIN_TO_CNY_ISRATE(int BITCOIN_TO_CNY_ISRATE) {
        this.BITCOIN_TO_CNY_ISRATE = BITCOIN_TO_CNY_ISRATE;
    }

    public BigDecimal getETH_TO_CNY() {
        return ETH_TO_CNY;
    }

    public void setETH_TO_CNY(BigDecimal ETH_TO_CNY) {
        this.ETH_TO_CNY = ETH_TO_CNY;
    }

    public int getETH_TO_CNY_ISRATE() {
        return ETH_TO_CNY_ISRATE;
    }

    public void setETH_TO_CNY_ISRATE(int ETH_TO_CNY_ISRATE) {
        this.ETH_TO_CNY_ISRATE = ETH_TO_CNY_ISRATE;
    }

    public static ExchangeRate getInstance(){
        return exchangeRate;
    }

    public int getETHEREUM_TO_DOLLAR_ISRATE() {
        return ETHEREUM_TO_DOLLAR_ISRATE;
    }

    public void setETHEREUM_TO_DOLLAR_ISRATE(int ETHEREUM_TO_DOLLAR_ISRATE) {
        this.ETHEREUM_TO_DOLLAR_ISRATE = ETHEREUM_TO_DOLLAR_ISRATE;
    }

    public int getBITCOIN_TO_DOLLAR_ISRATE() {
        return BITCOIN_TO_DOLLAR_ISRATE;
    }

    public void setBITCOIN_TO_DOLLAR_ISRATE(int BITCOIN_TO_DOLLAR_ISRATE) {
        this.BITCOIN_TO_DOLLAR_ISRATE = BITCOIN_TO_DOLLAR_ISRATE;
    }

    public int getBHPC_TO_ETH_ISRATE() {
        return BHPC_TO_ETH_ISRATE;
    }

    public void setBHPC_TO_ETH_ISRATE(int BHPC_TO_ETH_ISRATE) {
        this.BHPC_TO_ETH_ISRATE = BHPC_TO_ETH_ISRATE;
    }

    public int getDOLLAR_TO_CNY_ISRATE() {
        return DOLLAR_TO_CNY_ISRATE;
    }

    public void setDOLLAR_TO_CNY_ISRATE(int DOLLAR_TO_CNY_ISRATE) {
        this.DOLLAR_TO_CNY_ISRATE = DOLLAR_TO_CNY_ISRATE;
    }

    public int getETHEREUM_TO_DOLLAR_STATUS() {
        return ETHEREUM_TO_DOLLAR_STATUS;
    }

    public void setETHEREUM_TO_DOLLAR_STATUS(int ETHEREUM_TO_DOLLAR_STATUS) {
        this.ETHEREUM_TO_DOLLAR_STATUS = ETHEREUM_TO_DOLLAR_STATUS;
    }

    public int getBITCOIN_TO_DOLLAR_STATUS() {
        return BITCOIN_TO_DOLLAR_STATUS;
    }

    public void setBITCOIN_TO_DOLLAR_STATUS(int BITCOIN_TO_DOLLAR_STATUS) {
        this.BITCOIN_TO_DOLLAR_STATUS = BITCOIN_TO_DOLLAR_STATUS;
    }

    public int getBHPC_TO_ETH_STATUS() {
        return BHPC_TO_ETH_STATUS;
    }

    public void setBHPC_TO_ETH_STATUS(int BHPC_TO_ETH_STATUS) {
        this.BHPC_TO_ETH_STATUS = BHPC_TO_ETH_STATUS;
    }

    public int getDOLLAR_TO_CNY_STATUS() {
        return DOLLAR_TO_CNY_STATUS;
    }

    public void setDOLLAR_TO_CNY_STATUS(int DOLLAR_TO_CNY_STATUS) {
        this.DOLLAR_TO_CNY_STATUS = DOLLAR_TO_CNY_STATUS;
    }

    public BigDecimal getETHEREUM_TO_DOLLAR() {
        return ETHEREUM_TO_DOLLAR;
    }

    public void setETHEREUM_TO_DOLLAR(BigDecimal ETHEREUM_TO_DOLLAR) {
        this.ETHEREUM_TO_DOLLAR = ETHEREUM_TO_DOLLAR;
    }

    public BigDecimal getBITCOIN_TO_DOLLAR() {
        return BITCOIN_TO_DOLLAR;
    }

    public void setBITCOIN_TO_DOLLAR(BigDecimal BITCOIN_TO_DOLLAR) {
        this.BITCOIN_TO_DOLLAR = BITCOIN_TO_DOLLAR;
    }

    public BigDecimal getBHPC_TO_ETH() {
        return BHPC_TO_ETH;
    }

    public void setBHPC_TO_ETH(BigDecimal BHPC_TO_ETH) {
        this.BHPC_TO_ETH = BHPC_TO_ETH;
    }

    public BigDecimal getDOLLAR_TO_CNY() {
        return DOLLAR_TO_CNY;
    }

    public void setDOLLAR_TO_CNY(BigDecimal DOLLAR_TO_CNY) {
        this.DOLLAR_TO_CNY = DOLLAR_TO_CNY;
    }

    public long getETHEREUM_TO_DOLLAR_EXPIRES() {
        return ETHEREUM_TO_DOLLAR_EXPIRES;
    }

    public void setETHEREUM_TO_DOLLAR_EXPIRES(long ETHEREUM_TO_DOLLAR_EXPIRES) {
        this.ETHEREUM_TO_DOLLAR_EXPIRES = ETHEREUM_TO_DOLLAR_EXPIRES;
    }

    public long getBITCOIN_TO_DOLLAR_EXPIRES() {
        return BITCOIN_TO_DOLLAR_EXPIRES;
    }

    public void setBITCOIN_TO_DOLLAR_EXPIRES(long BITCOIN_TO_DOLLAR_EXPIRES) {
        this.BITCOIN_TO_DOLLAR_EXPIRES = BITCOIN_TO_DOLLAR_EXPIRES;
    }

    public long getBHPC_TO_ETH_EXPIRES() {
        return BHPC_TO_ETH_EXPIRES;
    }

    public void setBHPC_TO_ETH_EXPIRES(long BHPC_TO_ETH_EXPIRES) {
        this.BHPC_TO_ETH_EXPIRES = BHPC_TO_ETH_EXPIRES;
    }

    public long getDOLLAR_TO_CNY_EXPIRES() {
        return DOLLAR_TO_CNY_EXPIRES;
    }

    public void setDOLLAR_TO_CNY_EXPIRES(long DOLLAR_TO_CNY_EXPIRES) {
        this.DOLLAR_TO_CNY_EXPIRES = DOLLAR_TO_CNY_EXPIRES;
    }

    public long getBHPC_TO_DOLLAR_EXPIRES() {
        return BHPC_TO_DOLLAR_EXPIRES;
    }

    public void setBHPC_TO_DOLLAR_EXPIRES(long BHPC_TO_DOLLAR_EXPIRES) {
        this.BHPC_TO_DOLLAR_EXPIRES = BHPC_TO_DOLLAR_EXPIRES;
    }

    public long getBHPC_TO_CNY_EXPIRES() {
        return BHPC_TO_CNY_EXPIRES;
    }

    public void setBHPC_TO_CNY_EXPIRES(long BHPC_TO_CNY_EXPIRES) {
        this.BHPC_TO_CNY_EXPIRES = BHPC_TO_CNY_EXPIRES;
    }

    public long getCNY_TO_DOLLAR_EXPIRES() {
        return CNY_TO_DOLLAR_EXPIRES;
    }

    public void setCNY_TO_DOLLAR_EXPIRES(long CNY_TO_DOLLAR_EXPIRES) {
        this.CNY_TO_DOLLAR_EXPIRES = CNY_TO_DOLLAR_EXPIRES;
    }

    public long getBITCOIN_TO_CNY_EXPIRES() {
        return BITCOIN_TO_CNY_EXPIRES;
    }

    public void setBITCOIN_TO_CNY_EXPIRES(long BITCOIN_TO_CNY_EXPIRES) {
        this.BITCOIN_TO_CNY_EXPIRES = BITCOIN_TO_CNY_EXPIRES;
    }

    public long getETH_TO_CNY_EXPIRES() {
        return ETH_TO_CNY_EXPIRES;
    }

    public void setETH_TO_CNY_EXPIRES(long ETH_TO_CNY_EXPIRES) {
        this.ETH_TO_CNY_EXPIRES = ETH_TO_CNY_EXPIRES;
    }
}
